﻿using System;

namespace YArchitech.Temp
{
	public class HYDuctAccessory : HYAccessory, IHYXmlSerial
	{
		public HYDuctAccessory()
		{
			base.Name = "风管阀件";
		}

		public override void CalCoefficient()
		{
		}

		public override void Cal(HYSystemOption option)
		{
			double val = base.ShockResistance * option.ShockFix;
			HYPipeline hostPipeline = this.GetHostPipeline();
			if (hostPipeline == null)
			{
				return;
			}
			hostPipeline.AddAttachedObject(this, base.Name, val, true, 0);
		}

		protected HYDuctSpecification m_Section;
	}
}
